﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Resources;
using System.Globalization;


namespace atm_qlda
{
    public partial class ATM : Form
    {
        string language;
        public ATM()
        {
            InitializeComponent();

        }
        public delegate void delegateSend(string text);
        private void bttViet_Click(object sender, EventArgs e)
        {
            this.language = "vi-VN";
            Login a = new Login();
            delegateSend dele = new delegateSend(a.sendnn);
            dele(this.language);
            a.Show();
            a.SetLanguage(language);
            this.Hide();
        }

        private void bttEng_Click(object sender, EventArgs e)
        {
            this.language = "en-US";
            Login b = new Login();
            delegateSend dele = new delegateSend(b.sendnn);
            dele(this.language);
            b.Show();
            b.SetLanguage(language);
            this.Hide();

        }

        private void ATM_Load(object sender, EventArgs e)
        {

        }

        
    }
}
